﻿<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl" %>
<p id="typeMsg" class="left">
<%= ViewData("StatusMsg")%>
</p>
<br />
<table id="departmentTable" class="data-table activeRows">
    <thead>
        <tr>
            <th>
                Departments
            </th>
        </tr>
    </thead>
    <tbody>
        <% For Each item In ViewData("DepartmentList")%>
        <tr id="departmentRow_<%: item.ID%>" onclick="selectDepartment(<%: item.ID %>, '<%: item.Description%>', <%= item.IsActive.ToString().ToLower() %>)">
            <td>
                <%: item.Description%>
            </td>
        </tr>
        <% Next%>
    </tbody>
</table>